Skip to content

Conversation

@bakpaul
Copy link
Contributor

@bakpaul bakpaul commented Jan 16, 2026

Add python modules that uses the CGAL binding instead of the CGALPlugin to generate mesh from a pointcloud or a surfacic polyhedron

This PR goes along with the two following PRs:
SOFA #5869
CGALPlugin #42

…in to generate mesh from a pointcloud or a surfacic polyhedron
@hugtalbot
Copy link
Contributor

I tested it, it works 👍
It would be nice to have a script which opens SOFA and displays the vtk files generated after the meshing step, don't you think?

@hugtalbot
Copy link
Contributor

We could also move the generateMesh.py example into a Gmsh/ folder and put both Gmsh and CGAL into a meshing folder
my 2 🪙

@hugtalbot
Copy link
Contributor

See my PR @bakpaul : bakpaul#1

Copy link
Contributor

@alxbilger alxbilger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a mesh file torus.obj here. Check if you can remove the one from this PR.


class CGAL_Mesh_from_pointcloud(CGAL_Mesh_from):
def __init__(self, pointcloud ):
print(f"Transformaing input data into CGAL data structure...")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@th-skam
Copy link

th-skam commented Feb 12, 2026

Tools work ok

From point cloud
image

Remeshing torus surface and generate volumetric mesh
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants